package com.books4sale.feed;

import org.restlet.Application;
import org.restlet.Restlet;
import org.restlet.ext.atom.Feed;
import org.restlet.ext.atom.Service;
import org.restlet.routing.Router;

import com.books4sale.feed.atom.BooksAtomFeed;

public class Feeds extends Application {
	@Override
	public Restlet createInboundRoot() {
		Router router = new Router(getContext());
		router.attach("/books", BooksInfo.class);
		router.attach("/booksByCollage", BooksByCollage.class);
		router.attach("/booksFeed", BooksAtomFeed.class);
		return router;
	}
}
